MS-Windows follow-up to revision 114603: support giflib 5.x.
authorEli Zaretskii <eliz@gnu.org>
Thu, 10 Oct 2013 15:30:21 +0000 (18:30 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 10 Oct 2013 15:30:21 +0000 (18:30 +0300)
commit2e31bba4d9dad48d3f090bfb3dc8e9472dbdbf43
tree8969fb10390980e3fd934137a6b8bb2a2c21d694
parent61ba739273c0ae776dc08cb63cbcf9e2e348cc38
MS-Windows follow-up to revision 114603: support giflib 5.x.

 src/image.c (GIFLIB_MAJOR): Define to 4 if undefined.
 (GIFLIB_MINOR, GIFLIB_RELEASE): Define to zero if undefined.
 (GifErrorString) [GIFLIB_MAJOR >= 5]: Define a function pointer.
 (gif_load): For giflib v5.x and later, display the error message
 produced by giflib when its functions fail.
 (syms_of_image) <Qlibgif_version> [HAVE_NTGUI]: New DEFSYM.

 lisp/term/w32-win.el (dynamic-library-alist): Define separate lists
 of GIF DLLs for versions before and after 5.0.0 of giflib.
lisp/ChangeLog
lisp/term/w32-win.el
src/ChangeLog
src/image.c